package org.blankie.util;

public interface Collector<E> {

    void setSize(int size);

    void collect(E element);

    void close();

    void failed(Exception e);

}
